package com.aizhixin.lab.quartz.entity;

public enum SignStatus {
    noSign(0),
    sign(1),
    aa(2);
    private Integer intValue;
    private String strValue;

   SignStatus(Integer state) {
        this.intValue = state;
        switch (state) {
            case 0:
                this.strValue = "未签到";
                break;
            case 1:
                this.strValue = "已签到";
                break;
            case 2:
                this.strValue = "已迟到";
                break;
            default:
                this.intValue = 3;
                this.strValue = "无状态";
        }

    }
    public Integer getIntValue() {
        return intValue;
    }
    public String getStrValue() {
        return strValue;
    }
}
